<div class="canbos index">
	<h2><?php __('Canbos');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('tongiao_id');?></th>
			<th><?php echo $this->Paginator->sort('phuongxa_id');?></th>
			<th><?php echo $this->Paginator->sort('dantoc_id');?></th>
			<th><?php echo $this->Paginator->sort('chidoancb_id');?></th>
			<th><?php echo $this->Paginator->sort('hotencb');?></th>
			<th><?php echo $this->Paginator->sort('ngaysinhcb');?></th>
			<th><?php echo $this->Paginator->sort('noisinhcb');?></th>
			<th><?php echo $this->Paginator->sort('phaicb');?></th>
			<th><?php echo $this->Paginator->sort('diachicb');?></th>
			<th><?php echo $this->Paginator->sort('emailcb');?></th>
			<th><?php echo $this->Paginator->sort('namvaonghe');?></th>
			<th><?php echo $this->Paginator->sort('ngayvaodoancb');?></th>
			<th><?php echo $this->Paginator->sort('noivaodoancb');?></th>
			<th><?php echo $this->Paginator->sort('ngayvaodangcb');?></th>
			<th><?php echo $this->Paginator->sort('noivaodangcb');?></th>
			<th><?php echo $this->Paginator->sort('ngaychuyendencb');?></th>
			<th><?php echo $this->Paginator->sort('ngaychuyendicb');?></th>
			<th><?php echo $this->Paginator->sort('ngayttdoancb');?></th>
			<th><?php echo $this->Paginator->sort('ghichu');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($canbos as $canbo):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $canbo['Canbo']['id']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($canbo['Tongiao']['id'], array('controller' => 'tongiaos', 'action' => 'view', $canbo['Tongiao']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($canbo['Phuongxa']['id'], array('controller' => 'phuongxas', 'action' => 'view', $canbo['Phuongxa']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($canbo['Dantoc']['id'], array('controller' => 'dantocs', 'action' => 'view', $canbo['Dantoc']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($canbo['Chidoancb']['id'], array('controller' => 'chidoancbs', 'action' => 'view', $canbo['Chidoancb']['id'])); ?>
		</td>
		<td><?php echo $canbo['Canbo']['hotencb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngaysinhcb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['noisinhcb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['phaicb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['diachicb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['emailcb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['namvaonghe']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngayvaodoancb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['noivaodoancb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngayvaodangcb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['noivaodangcb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngaychuyendencb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngaychuyendicb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngayttdoancb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ghichu']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $canbo['Canbo']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $canbo['Canbo']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $canbo['Canbo']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $canbo['Canbo']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Canbo', true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Tongiaos', true), array('controller' => 'tongiaos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tongiao', true), array('controller' => 'tongiaos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phuongxas', true), array('controller' => 'phuongxas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phuongxa', true), array('controller' => 'phuongxas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dantocs', true), array('controller' => 'dantocs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dantoc', true), array('controller' => 'dantocs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chidoancbs', true), array('controller' => 'chidoancbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chidoancb', true), array('controller' => 'chidoancbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chucvucbs', true), array('controller' => 'chucvucbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chucvucb', true), array('controller' => 'chucvucbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dvutcbs', true), array('controller' => 'dvutcbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dvutcb', true), array('controller' => 'dvutcbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phanloaicbs', true), array('controller' => 'phanloaicbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phanloaicb', true), array('controller' => 'phanloaicbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tgdongcbs', true), array('controller' => 'tgdongcbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tgdongcb', true), array('controller' => 'tgdongcbs', 'action' => 'add')); ?> </li>
	</ul>
</div>